package com.dkd.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
public enum VmEnumS {
    PageIndex(1,"页码"),
    PageSize(10,"页面大小"),
    TotalPage(5,"总页数"),
    TotalCount2(20,"20页"),
    TotalCount3(30,""),
    TotalCount4(40,""),
    TotalCount5(50,"");

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @EnumValue
    private int value;
    private String desc;

    VmEnumS(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
